package com.king.slf4j;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Slf4j 日志门面接口 Test
 * @author taomk
 * @version 1.0
 * @since 15-10-15 下午3:39
 */
public class Slf4jFacadeTest {

	private static Logger logger = LoggerFactory.getLogger(Slf4jFacadeTest.class);

	public static void main(String[] args){
		if(logger.isDebugEnabled()){
			logger.debug("slf4j-log4j debug message");
		}
		if(logger.isInfoEnabled()){
			logger.debug("slf4j-log4j info message");
		}
		if(logger.isTraceEnabled()){
			logger.debug("slf4j-log4j trace message");
		}
	}
}
